﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Quartz.Net.Utils
{
    public class LogContent
    {
        public LogContent(string LOGERRORLOG, string LOGACTIONCLICK)
        {
            this.NGUID = Guid.NewGuid().ToString();
            this.LOG_DATE = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
            this.LOGERRORDATE = Convert.ToDateTime(DateTime.Now.ToString("yyyy-MM-dd"));
            this.LOGERRORLOG = LOGERRORLOG;
            this.LOGACTIONCLICK = LOGACTIONCLICK;
        }
        /// <summary>
        /// 
        /// </summary>
        public string NGUID { get; set; }
        /// <summary>
        /// 插入时间
        /// </summary>
        public DateTime LOG_DATE { get; set; }
        /// <summary>
        /// 插入日期
        /// </summary>
        public DateTime LOGERRORDATE { get; set; }
        /// <summary>
        /// 错误详情
        /// </summary>
        public string LOGERRORLOG { get; set; }
        /// <summary>
        /// 错误简介
        /// </summary>
        public string LOGACTIONCLICK { get; set; }
    }
}
